<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- 矢量图 -->
    <svg
        xmlns="http://www.w3.org/2000/svg"
        version="1.1"
        width="400"
        height="200"
        viewBox="0,0,400,200"
    >
        <!-- svg内可以声明图形 -->
        <rect height="95" width="95" x="5" y="5" stroke="yellow" stroke-width="10" fill="red" />
        <text fill="block" font-family="PingFangSc-Regular,sans-serif" font-size="25" x="150" y="150" >
            hellow world
        </text>
          
    </svg>
</body>
</html>